<!-- target:scene -->
<div class="grey-bg flex-cont" ui="type:m-panel;">

    <div class="detail-title">
        <div class="title-text">${detail.project.projectContent} ${detail.roundName}</div>
    </div>

    <!-- var:detail = ${detail} || ${detail.detail} -->
    <div class="info-part">
        <div class="info-item">
            <div class="info-label">项目类型</div>
            <!-- var:projectTypeDesc = Array.prototype.map.call(${detail.project.projectTypeList} || [], function (item) { return item.projectName; }).join('，') -->
            <div class="info-text">${projectTypeDesc|default}</div>
        </div>
        <div class="info-item">
            <div class="info-label">联系人</div>
            <div class="info-text">${detail.project.contact}</div>
        </div>
        <div class="info-item">
            <div class="info-label">手机号</div>
            <div class="info-text">${detail.project.tel}</div>
        </div>
        <div class="info-item">
            <div class="info-label">主办方</div>
            <div class="info-text">${detail.project.sponsorName|default}</div>
        </div>
        <div class="info-item">
            <div class="info-label">使用时间</div>
            <div class="info-text">${detail.startTime|dateFormat('yyyy-MM-dd HH:mm:ss')}</div>
        </div>
        <div class="info-item">
            <div class="info-label">场次名称</div>
            <div class="info-text">${detail.roundName}</div>
        </div>
        <div class="info-item">
            <div class="info-label">预订门店</div>
            <div class="info-text">${detail.venueName}-${detail.yardName}</div>
        </div>
        <div class="info-item">
            <div class="info-label">音乐人</div>
            <div class="info-text">${detail.musiciansName|default}</div>
        </div>
        <div class="info-item">
            <div class="info-label">锁定场次</div>
            <div class="info-text">
            	<span ui="type:NS.Switch;optId:${id};={${detail.state} ? 'checked' : ''}" class="state-switch inline-block"></span>
            </div>
        </div>
    </div>
        
    <div class="info-part approval-part">
        <div class="part-title">流程</div>
        <ul class="approval-items">
            <li class="approval-item">
                <div class="people-head">${detail.creatorName}</div>
                <div class="approval-info">
                    <div class="approval-people-info"><span class="name">${detail.creatorName}</span></div>
                    <div class="comment-info">
                        <div>创建</div>
                    </div>
                    <div class="approval-time">${detail.ctime|dateFormat('M-d HH:mm')}</div>
                </div>
            </li>
        </ul>
    </div>
    <div class="blank-grey"></div>
</div>
<form class="operate-btn-box" name="commentForm">
    <div class="operate-btns">
        <strong class="ui-button ui-button-danger" ui="type:NS.DeleteBtn;optId:${id}">删除</strong>
        <a class="ui-button m-l-20" href="#/venueOrder/edit~id=${id}">编辑</a>
    </div>
</form>

